/**
 * Copyright 2013 ABSir's Studio
 * 
 * All right reserved
 *
 * Create on 2013-6-17 下午6:05:46
 */
package com.absir.bean.core;

import com.absir.bean.basis.BeanDefine;
import com.absir.bean.basis.BeanFactory;
import com.absir.bean.basis.BeanScope;

/**
 * @author absir
 * 
 */
public class BeanDefinePrototype extends BeanDefineWrapper {

	/**
	 * @param beanDefine
	 */
	public BeanDefinePrototype(BeanDefine beanDefine) {
		super(beanDefine);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.absir.bean.core.BeanDefineWrapper#getBeanScope()
	 */
	@Override
	public BeanScope getBeanScope() {
		return BeanScope.PROTOTYPE;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.absir.bean.core.BeanDefineWrapper#getBeanObject(com.absir.bean.basis
	 * .BeanFactory)
	 */
	@Override
	public Object getBeanObject(BeanFactory beanFactory) {
		return beanDefine.getBeanObject(beanFactory);
	}
}
